<!--{template common/header}-->
<!--{if $comments}-->
<div class="dianping_box cl" style="padding-bottom: 10px; border-bottom: 1px solid #EEEEEE; <!--{if $close_leftinfo}-->margin-left: 45px;<!--{/if}-->">
<div class="cl" style="padding: 0 20px; margin-top: 12px; margin-bottom: 10px; background: #F6F6F6; border-radius: 6px;">
	<h3 class="psth cm" style="display: none;">{lang comments}</h3>
	<!--{if $totalcomment}--><div class="pstl">$totalcomment</div><!--{/if}-->
	<!--{loop $comments $comment}-->
		<div class="pstl xs1 cl" style="padding: 14px 0 16px 0; border-bottom: 1px solid #EEEEEE;">

				<div class="psta vm" style="float: none;">

					<a href="home.php?mod=space&uid=$comment['authorid']" style="float: left; margin-right: 4px; margin-top: 1px;">$comment[avatar]</a>

                    <div class="z cl" style="width: 80%;">
                    <div class="cl">
                    <div class="cl" style="margin: 3px 0 5px 0;">
					<!--{if $comment['authorid']}-->

						<a href="home.php?mod=space&uid=$comment['authorid']" class="xi2 xw1" style="color: #666666; font-size: 12px; float: left; line-height: 12px;">$comment[author]</a>

						<!--{else}-->

						<a style="color: #666666; font-size: 12px; float: left; line-height: 12px;">{lang guest}</a>

					<!--{/if}-->
                </div>
                <div class="cl" style="float: left; padding-left: 0; color: #888888; line-height: 12px; margin: 15px 0 0 0;">
                   $comment[dateline]
                </div>
                </div>
                <div class="psti" style="padding-left: 0; color: #666666; line-height: 18px;">

					$comment[comment]&nbsp;

					<!--{if $comment[rpid]}-->

						<a href="forum.php?mod=redirect&goto=findpost&pid=$comment[rpid]&ptid=$_G[tid]" class="xi2">{lang detail}</a>

						<a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$comment[rpid]&extra=$_GET[extra]&page=$page{if $_GET[from]}&from=$_GET[from]{/if}" class="xi2" onclick="showWindow('reply', this.href)">{lang reply}</a>

					<!--{/if}-->

				</div>
                </div>
                					<span class="y xg1" style="margin: -8px 0 0 0;">

						<!--{if $_G['forum']['ismoderator'] && $_G['group']['allowdelpost']}-->&nbsp;<a href="javascript:;" onclick="modaction('delcomment', $comment[id])">{lang delete}</a><!--{/if}-->

					</span>

				</div>

			</div>
	<!--{/loop}-->
    </div>
</div>
<!--{/if}-->
<div class="pgs mbm cl">$multi</div>
<!--{template common/footer}-->